import request from '@/utils/request'

// 查询隐患检测点关联列表
export function listYhjcdglb(query) {
  return request({
    url: '/ybyj/yhjcdglb/list',
    method: 'get',
    params: query
  })
}

// 查询隐患检测点关联详细
export function getYhjcdglb(id) {
  return request({
    url: '/ybyj/yhjcdglb/' + id,
    method: 'get'
  })
}

// 新增隐患检测点关联
export function addYhjcdglb(data) {
  return request({
    url: '/ybyj/yhjcdglb',
    method: 'post',
    data: data
  })
}

// 修改隐患检测点关联
export function updateYhjcdglb(data) {
  return request({
    url: '/ybyj/yhjcdglb',
    method: 'put',
    data: data
  })
}

// 删除隐患检测点关联
export function delYhjcdglb(id) {
  return request({
    url: '/ybyj/yhjcdglb/' + id,
    method: 'delete'
  })
}


